//
//  CallMeHeadView.m
//  NewMusic
//
//  Created by dllo on 15/11/23.
//  Copyright © 2015年 Going. All rights reserved.
//

#import "CallMeHeadView.h"

@implementation CallMeHeadView

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        [self creatSubView];
    }
    return self;
}
- (void)creatSubView
{
    UIImageView *imageView = [[UIImageView alloc] initWithFrame:CGRectMake(112.5, 20, 150, 150)];
    imageView.image = [UIImage imageNamed:[[NSBundle mainBundle] pathForResource:@"iconHeadView" ofType:@"png"]];
    [self addSubview:imageView];
    [imageView release];
    
    UILabel *label = [[UILabel alloc] initWithFrame:CGRectMake(112.5, 200, 150, 30)];
    label.text = @"版本号 V1.0.0";
    label.textAlignment = NSTextAlignmentCenter;
    label.textColor = [UIColor colorWithRed:200 / 255.0 green:200 / 255.0 blue:200 / 255.0 alpha:1.0];
    [self addSubview:label];
    [label release];
}

@end
